<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <script src="./js/index.js"></script>
  </head>
  <body>
    12121
    <script src="http://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
    <script>
      function pro() {
        return new Promise((resolve, reject) => {
          reject(12);
        });
      }
      async function run() {
        await pro();
      }
      run()
        .then((res) => {
          console.log(res);
        })
        .catch((e) => {
          console.log(e);
        });
    </script>
  </body>
</html>
